// const baseUrl = "http://192.168.3.38:8282/index.php"
const baseUrl = "http://test.guoshutang.fun/index.php"
export default {
	async get(url) {
		return new Promise(resolve => {
			uni.request({
				url: baseUrl + url,
				success(r) {
					resolve(r)
				},
				fail(e) {
					console.error(e)
				}
			})
		})
	}
}